//连接mongoose
var mongoose = require('mongoose');


// 创建骨架
const login = mongoose.Schema({  
  username:String,
  password:String,
  token:String
})

// 创建模型
const loginSchema = mongoose.model('logins', login);

module.exports = loginSchema;